<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <!-- import CSS -->
  <link rel="stylesheet" href="https://cdn.staticfile.org/element-ui/2.15.9/theme-chalk/index.css">
</head>
<body>
<div id="app">
  <h1>您选择的商品是{{value}}元</h1>
  <el-select v-model="value" placeholder="请选择">
    <el-option v-for="(item,i) in arr"
               :value="item.price"
               :label="item.title"
               :key="i"
    ></el-option>
  </el-select>
</div>
</body>
<!-- import Vue before Element -->
<script src="https://cdn.staticfile.org/vue/2.6.14/vue.min.js"></script>
<!-- import JavaScript -->
<script src="https://cdn.staticfile.org/element-ui/2.15.9/index.min.js"></script>
<script>
 let v = new Vue({
    el: '#app',
    data: function() {
      return {
        arr:[{title:"电视机",price:3000},
          {title:"洗衣机",price:2000},
          {title:"收音机",price:100}],
        value:""
      }
    },
    methods: {

    },
  })
</script>
</html>